package com.xingfudazi.web.vo;

import com.xingfudazi.app.domain.AppMomentComment;

import java.util.List;

/**
 * @author YuJiaMing
 * date 2024年07月22日 13:35
 */
public class AppMomentCommentVO extends AppMomentComment {

    private List<AppMomentCommentVO> children;


    public List<AppMomentCommentVO> getChildren() {
        return children;
    }

    public void setChildren(List<AppMomentCommentVO> children) {
        this.children = children;
    }

    public AppMomentCommentVO(AppMomentComment appMomentComment) {
        this.setId(appMomentComment.getId());
        this.setPid(appMomentComment.getPid());
        this.setNid(appMomentComment.getNid());
        this.setNickName(appMomentComment.getNickName());
        this.setMid(appMomentComment.getMid());
        this.setAvatar(appMomentComment.getAvatar());
        this.setCreateTime(appMomentComment.getCreateTime());
        this.setDelFlag(appMomentComment.getDelFlag());
        this.setContent(appMomentComment.getContent());
    }
}

